#ifndef __MQTT_HAL_H__
#define __MQTT_HAL_H__

// #define BROLER_ADDRESS "192.168.1.8" /* your PC ipv4 ip */
// #define BROLER_PORT 1883             /* port */
// #define USER_NAME "admin"            /* client name */
// #define PASSWARD "liu1424838093"     /* passward */
// #define CLIENT_ID "MQTT_ESP_Client"   /* cliend id */
// #define PublishTopic0 "/topic/qos0"   /* publish topic */
// #define PublishTopic1 "/topic/qos1"   /* publish topic */

#define BROLER_ADDRESS "a1J1fOXGDzb.iot-as-mqtt.cn-shanghai.aliyuncs.com"                              /* your PC ipv4 ip */
#define BROLER_PORT 1883                                                                               /* port */
#define USER_NAME "Smart-Home&a1J1fOXGDzb"                                                             /* client name */
#define PASSWARD "8d081f8232ec3ccff0a2637f364128795e1ba4565e0258c8f2c09e27c3a645b6"                    /* passward */
#define CLIENT_ID "a1J1fOXGDzb.Smart-Home|securemode=2,signmethod=hmacsha256,timestamp=1710253703129|" /* cliend id */

#define PublishTopic0 "/sys/a1J1fOXGDzb/Smart-Home/thing/event/property/post"                          /* publish topic */

#ifdef __cplusplus
extern "C"
{
#endif

    void mqtt_wifi_init(void);
    void mqtt_task(void *arg);

#ifdef __cplusplus
}
#endif

#endif
